<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <!-- import CSS -->
    <link rel="stylesheet" href="css/eui.css">
    <style>
        header{
            background-color: red;
            line-height: 100px;
            text-align: center;
            /*elementUI框架会让header高度为60 通过!important提升优先级*/
            /*height: 100px !important;*/
        }
        main{
            background-color: green;
            line-height: 200px;
            text-align: center;
        }
        footer{
            background-color: blue;
            line-height: 50px;
            text-align: center;
        }

    </style>
</head>
<body>
<div id="app">
    <el-container>
        <el-header height="100px">Header</el-header>
        <el-main>Main</el-main>
    </el-container>
    <h1>头体脚</h1>
    <el-container>
        <el-header>Header</el-header>
        <el-main>Main</el-main>
        <el-footer>Footer</el-footer>
    </el-container>
    <h1>左右</h1>
    <el-container>
        <el-aside width="200px">Aside</el-aside>
        <el-main>Main</el-main>
    </el-container>
    <!--练习1-->
    <el-container>
        <el-header>Header</el-header>
        <el-container>
            <el-aside width="200px">Aside</el-aside>
            <el-main>Main</el-main>
        </el-container>
    </el-container>
    <h1>复杂布局</h1>
    <el-container>
        <el-header>Header</el-header>
        <el-container>
            <el-aside width="200px">Aside</el-aside>
            <el-container>
                <el-main>Main</el-main>
                <el-footer>Footer</el-footer>
            </el-container>
        </el-container>
    </el-container>
</div>
</body>
<!-- import Vue before Element -->
<script src="js/vue.js"></script>
<!-- import JavaScript -->
<script src="js/eui.js"></script>
<script>
    let v = new Vue({
        el: '#app',
        data: function() {
            return {

            }
        }
    })
</script>
</html>